import http from '@/service/http'
import type * as T from '@/types/api/index'
const classifyApi: T.IRoleApi = {
  allList() {
    return http.post('/admin/PhotoType/allList')
  },
  list(data) {
    return http.post('/admin/PhotoType/list', data)
  },
  add(data) {
    return http.post('/admin/PhotoType/add', data)
  },
  edit(data) {
    return http.post('/admin/PhotoType/edit', data)
  },
  dels(data) {
    return http.post('/admin/PhotoType/dels', data)
  }
}

export default classifyApi
